
import './style/app.scss';
import { Provider } from 'react-redux'
import { store } from "./util/store"
import Home from "./page/home/Home"
import Index from './framework/index/Index'
import NewHomeIndex from './page/newHome/NewHomeIndex'
// import Service from './page/service/service.js'
// import Dalshabet from './page/dalshabet/dalshabet.js'
// import FeatureService from './page/service/feature-service.js'
// import ExpertTeam from './page/service/expert-team.js'
// import Activity from './page/activity/activityConsule.js'
// import MotherShare from './page/motherShare/motherShare.js'
// import CityPlan from './page/hibaby/CityPlan.js'
// import Profile from './page/hibaby/profile.js'
// import Detail from './component/detail.js'
// import ActivityDetail from './page/activity/activityList.js'
// import EnvironmentIntroduce from './page/service/environmentIntroduce.js'
// import ActivityRecruit from './page/activity/activityRecruit.js'
// import MomAndBabyKnowledge from './page/activity/momAndBabyKnowledge.js'
import React from 'react'
import ReactDOM from 'react-dom'
import  { Router, Route, IndexRoute, browserHistory } from 'react-router'


ReactDOM.render(
	<Provider store={store}>
		<Router history={browserHistory}>
			<Route path="/" component={Index}>
				<IndexRoute component={NewHomeIndex}/>
			</Route>
		</Router>
	</Provider>,
    document.getElementById("root")
)

